From 747bb7db9d67537298f2868f3179e73ba6a35e71 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Fri, 14 Mar 2008 05:28:12 +0000 Subject: [PATCH] xcsv: Take parameter at right position. --- xcsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcsv.c b/xcsv.c index a9bfd3d10..4dbc437e1 100644 --- a/xcsv.c +++ b/xcsv.c @@ -333,7 +333,7 @@ xcsv_parse_style_line(const char *sbuff) } else if (ISSTOKEN(sbuff, "DATUM")) { - p = csv_stringtrim(&sbuff[8], "\"", 1); + p = csv_stringtrim(&sbuff[5], "\"", 1); xcsv_file.gps_datum = GPS_Lookup_Datum_Index(p); is_fatal(xcsv_file.gps_datum < 0, MYNAME ": datum \"%s\" is not supported.", p); xfree(p); -- 2.30.2